<%--
*
*discription 模块表SYSTEM_MODULE的edit文件
*
* @author tch 
*
--%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@taglib prefix="f" uri="/flowpage-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title><s:property value="operate"/>模块</title>
	<%@include file="/share/header.jsp"%>
	<s:head/>
	<f:header theme="${sessionScope.skinCon.pageSkin}"/>	
  </head>
  <body>
	  	<s:actionerror/>
	    <s:form  action="save" namespace="/system/module" validate="true" focusElement="domain.name">
	    <f:fieldset title="模块信息">
		 	<s:hidden name="domain.parent.id"/>
		 	<s:if test="readonly">
		    	<s:textfield name="domain.parent.name" label="上级模块" multipleheight="1" multiplewidth="1" required="false" readonly="%{readonly}" disabled="%{disabled}"  dataType="LimitB"   max="100"   maxlength="100"/>		 	
		 	</s:if>
		 	<s:else>
		    	<s:textfield name="domain.parent.name" label="上级模块" multipleheight="1" multiplewidth="1" required="false" readonly="true" dataType="LimitB"   max="100"   maxlength="100" onclick="onDoSelectTree({title:'上级模块',type:'Module','excludeIds':'%{domain.id}',returnIdName:'domain.parent.id',returnTextName:'domain.parent.name'});" cssClass="SelectTree"/>		 	
		 	</s:else>
		    <s:textfield name="domain.name" label="名称" multipleheight="1" multiplewidth="1" required="true" readonly="%{readonly}" disabled="%{disabled}" dataType="LimitB"   max="100"   maxlength="100"/>
		    <s:textfield name="domain.linkUrl" label="链接地址"  required="false" multipleheight="1" multiplewidth="2" readonly="%{readonly}" disabled="%{disabled}" dataType="LimitB" max="1000"  maxlength="1000"/>
		    <s:textfield name="domain.icon" label="图标" multipleheight="1" multiplewidth="2" required="false" readonly="%{readonly}" disabled="%{disabled}" dataType="LimitB"    max="100"  maxlength="100"/>		    
		    <s:textfield name="domain.sequence" label="顺序" multipleheight="1" multiplewidth="1" required="true" readonly="%{readonly}" disabled="%{disabled}" dataType="Integer"  maxlength="4"/>
		    <s:radio label="状态" name="domain.state" noborder="true" readonly="%{readonly}" disabled="%{disabled}" required="true" list="getCodeItemList('yes_no')"  listKey="value" listValue="name"/>
		    <s:textarea name="domain.remark" label="备注"  required="false" multipleheight="2" multiplewidth="2" readonly="%{readonly}" disabled="%{disabled}" dataType="LimitB"    max="2000"  maxlength="2000"/>
		</f:fieldset>
		<f:fieldset title="桌面统计信息">
			<s:select name="domain.desktopGroup" label="桌面统计组" readonly="%{readonly}" disabled="%{disabled}" required="false" list="getCodeItemList('desktop_group')"  listKey="value" listValue="name"/>
			<s:textfield name="domain.desktopSequence" label="桌面统计顺序" multipleheight="1" multiplewidth="1" required="false" readonly="%{readonly}" disabled="%{disabled}" dataType="Integer"  maxlength="100"/>						
			<s:textfield name="domain.desktopName" label="桌面统计名称" multipleheight="1" multiplewidth="2" required="false" readonly="%{readonly}" disabled="%{disabled}" dataType="LimitB"   max="100"   maxlength="100"/>			
			<s:checkboxlist name="domain.desktopFilterTypes" label="桌面统计过滤类型" multiplewidth="2" readonly="%{readonly}" disabled="%{disabled}" required="false" list="getCodeItemList('filter_type')"  listKey="value" listValue="name" dataType="Group" columnBreak="4"/>
			<s:textfield name="domain.desktopQueryColumn" label="桌面统计查询字段" multipleheight="1" multiplewidth="1" required="false" readonly="%{readonly}" disabled="%{disabled}" dataType="LimitB"    max="100"  maxlength="100"/>			
			<s:textfield name="domain.desktopQueryValue" label="桌面统计查询值" multipleheight="1" multiplewidth="1" required="false" readonly="%{readonly}" disabled="%{disabled}" dataType="LimitB"    max="100"  maxlength="100"/>			
			<s:textfield name="domain.desktopDynamicColumn" label="桌面统计动态字段" multipleheight="1" multiplewidth="1" required="false" readonly="%{readonly}" disabled="%{disabled}" dataType="LimitB"   max="100"   maxlength="100"/>			
			<s:textfield name="domain.desktopDynamicValue" label="桌面统计动态值" multipleheight="1" multiplewidth="1" required="false" readonly="%{readonly}" disabled="%{disabled}" dataType="LimitB"    max="100"  maxlength="100"/>			
			<s:textfield name="domain.desktopFishergrid" label="桌面统计Fisher" multipleheight="1" multiplewidth="2" required="false" readonly="%{readonly}" disabled="%{disabled}" dataType="LimitB"    max="1000"  maxlength="1000"/>			
		</f:fieldset>
	    </s:form>
  </body>
</html>
